package xuanzhen.reservation.service;

import java.util.List;
import java.util.Map;

import net.sf.json.JSONArray;
import xuanzhen.reservation.pojo.RedPacket;


public interface RedPacketService {
	/**
	 * 新增
	 */
	int insertRedPacket(RedPacket reds)throws Exception;
	/**
	 * 查询
	 */
	List<RedPacket> selectByrid(int rid) throws Exception;
	List<RedPacket> selectListByMap(Map<String,Object> maps) throws Exception;
	List<RedPacket> selectListByMapForShow(Map<String,Object> maps) throws Exception;
	List<RedPacket> selectUnderNineListByMap(Map<String, Object> maps)throws Exception;
}
